#pragma once

#include <unordered_map>
#include <string>

class MprpcConfig
{
public:
    void LoadConfig(const char* config);
    std::string Load(const std::string& key);

private:
    std::unordered_map<std::string, std::string> m_configMap;
    void Trim(std::string& str);
};